home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2877 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: asterix.urc.tue.nl!buex95a
  2. From: buex95a@asterix.urc.tue.nl (Marcel van Kervinck)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Amiga Memory Map Needed!!!
  5. Date: 6 Feb 1996 15:19:28 GMT
  6. Organization: Eindhoven University of Technology, The Netherlands
  7. Message-ID: <4f7ri0$o4@tuegate.tue.nl>
  8. References: <4dl0pe$1jr0@serra.unipi.it> <13213494@sourcery.han.de> <4eo1s9$im3@tuegate.tue.nl> <4eogof$f3n@serpens.rhein.de>
  9. NNTP-Posting-Host: asterix.urc.tue.nl
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Michael van Elst (mlelstv@serpens.rhein.de) wrote:
  13. : buex95a@asterix.urc.tue.nl (Marcel van Kervinck) writes:
  14.  
  15. : >BTW: Why doesn't anyone wonder why there is need for execbase
  16. : >to be located in a fixed address at all?
  17.  
  18. : ExecBase needs to be found from within an interrupt. The only
  19. : information passed to an interrupt is the new program counter
  20. : and a couple of supervisor registers. The only register that
  21. : _could_ hold some information would be the supervisor stack.
  22. : But it is much work to reliably retrieve a pointer from a stack
  23. : with unknown data already pushed to it. Reading a pointer from
  24. : an absolute address is much easier, won't you think ?
  25.  
  26. True, but interrupt programming is something that should be hidden
  27. in the os. No application needs to know about interrupts, I think.
  28. So it's allright if internally the os uses absolute addresses, but
  29. there is no need to make anything external rely on them. Or even
  30. know about them.
  31.  
  32.     Marcel
  33. --  _   _
  34.   _| |_|_|
  35.  |_    |_     Marcel van Kervinck
  36.          |_|  buex95a@urc.tue.nl
  37.